import java.awt.Image;
import java.io.IOException;

import javax.sound.sampled.LineUnavailableException;

import Exceptions.NotValidValueException;


public interface IBall {
	
	
	
	
	public int getPosX();
	public int getPosY();
	public void setPos(int x, int y);
	
	public void collision(Player p1 , Player p2) throws NotValidValueException, InterruptedException, LineUnavailableException, IOException;
	public void move() throws LineUnavailableException, IOException;
	
	
	public void setXDirection(int xdir);
	public void setYDirection(int ydir);
	public int getXDirection();
	public int getYDirection();
	
}
